#ifndef _TRIANGLE_H_
#define _TRIANGLE_H_

#include "object.h"

class Triangle: public Object {
	Vertex a;
	Vertex b;
	Vertex c;
public:
	Triangle(Vertex &aa, Vertex &bb,Vertex &cc);
	bool intersect(Ray &ray, Hit *h);
};

#endif
